/**********************************************************************

  Audacity: A Digital Audio Editor

  Spectrum.h

  Dominic Mazzoni

**********************************************************************/
typedef signed short sampleType;

bool ComputeSpectrum(float mData[], int mDataLen, int mWindowSize,
					 float* processed[],int& mProcessedSize);

//from Audacity's yin.c
float bestPeak(float *mProcessed, int mProcessedSize, float mRate);
